<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{gsjlList.bundleName}"/>
    <head>
        <title>#{text['gsjlList.title']}</title>
        <meta name="heading" content="#{text['gsjlList.heading']}"/>
        <meta name="menu" content="GsjlMenu"/>
    </head>
<body id="gsjlList">
<h:form id="editGsjl">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="gsjls" var="gsjl" style="margin-top: 10px"
    value="#{gsjlList.gsjls}" rows="25" sortColumn="#{gsjlList.sortColumn}"
    sortAscending="#{gsjlList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ctje" arrow="true">
                <h:outputText value="#{text['gsjl.ctje']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{gsjlForm.edit}" value="#{gsjl.ctje}">
            <f:param name="gsjlid" value="#{gsjl.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jfjl" arrow="true">
                <h:outputText value="#{text['gsjl.jfjl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.jfjl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="qt" arrow="true">
                <h:outputText value="#{text['gsjl.qt']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.qt}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sfbljl" arrow="true">
                <h:outputText value="#{text['gsjl.sfbljl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.sfbljl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sfct" arrow="true">
                <h:outputText value="#{text['gsjl.sfct']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:selectBooleanCheckbox value="#{gsjlForm.gsjl.sfct}" id="sfct" disabled="disabled"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sftgnj" arrow="true">
                <h:outputText value="#{text['gsjl.sftgnj']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:selectBooleanCheckbox value="#{gsjlForm.gsjl.sftgnj}" id="sftgnj" disabled="disabled"/>
    </t:column>
    
    <!-- 
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['gsjl.id']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbqk" arrow="true">
                <h:outputText value="#{text['gsjl.jbqk']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['gsjl.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['gsjl.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['gsjl.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['gsjl.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{gsjl.version}" escape="true"/>
    </t:column>
     -->
    
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="gsjls"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editGsjl:gsjls");
</script>

</h:form>
</body>
</f:view>
</html> 